const mongoose = require('mongoose')

mongoose
   .connect('mongodb+srv://1956313417:NQeLy17nDuUvfjNR@cluster0.nhzpu.mongodb.net/project')
   .then(()=>{
    console.log('connected to db');
   })
   .catch((err)=>{
    console.log(err);
   })

module.exports = mongoose